/** @type {import('vue-router').RouteRecordRaw} */
export default {
  path: '/device',
  component: () => import('@/layouts/defaults/defaults.vue'),
  children: [
    // {
    //   path: 'list',
    //   name: 'device-list',
    //   component: () => import('@/views/device/index.vue'),
    //   meta: {
    //     title: '设备列表',
    //     isKeepAlive: true,
    //   },
    // },
    {
      path: 'group',
      name: 'device-group',
      component: () => import('@/views/device/group/index.vue'),
      meta: {
        title: '设备分组',
        isKeepAlive: true
      }
    },
    {
      path: 'list',
      name: 'device-list',
      component: () => import('@/views/device/list/index.vue'),
      meta: {
        title: '设备列表',
        isKeepAlive: true
      }
    }
  ]
}
